package com.dhcc.sds.base.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.plugins.Page;
import com.dhcc.core.framework.base.service.impl.BaseServiceImpl;
import com.dhcc.sds.base.dao.SdsDicMapper;
import com.dhcc.sds.base.service.ISdsDicService;
import com.dhcc.sds.base.entity.SdsDicEntity;

/**
 * 基础字典表数据服务层接口
 * 
 * @ClassName: SdsDicServiceImpl
 * @Description: TODO
 * @author sunyingjie
 * @date 2021-03-22 10:10:53
 */
@Service("sdsDicService")
public class SdsDicServiceImpl extends BaseServiceImpl<SdsDicMapper, SdsDicEntity> implements ISdsDicService {

	@Override
	public List<SdsDicEntity> page(Page<SdsDicEntity> page, Map<String, Object> map) {
		return this.baseMapper.page(page, map);
	}
	@Override
	public List<SdsDicEntity> list(Map<String, Object> map) {
		return this.baseMapper.list(map);
	}

	@Override
	public List<SdsDicEntity> pageCdcMatch(Page<SdsDicEntity> page, Map<String, Object> params) {
		params.put("dicType", "SDMatchCdcDic");
		return this.baseMapper.page(page, params);
	}

}